package config;

import cn.zcy.properties.YamlPropertiesFactory;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan("cn.zcy")
@Import(JdbcConfig.class)
@PropertySource(value = "classpath:db.yaml",factory = YamlPropertiesFactory.class)
public class SpringConfiguration {
}
